Spacing and rotation

??=[spacing] The default spacing distances between rows and columns are called "rowsep" and "colsep". They can be changed from the default |2pc| by two special commands similar to the ones for the defaults in the kernel:
\begin{defs1}
\vert\xymatrixrowsep\vert <add~op> \vert{\vert<dimen>\vert}\vert ...
...\vert\xymatrixcolsep\vert <add~op> \vert{\vert<dimen>\vert}\vert \cr
\end{defs1}
The spacing around each object can also be changed through modifiers as explained in the following section.

( @@2pc @@2pc

@@@@ @@@@ )

An entire matrix can be rotated by adding a "rotation prefix" between the || command and the opening ||:
\begin{defs1}
\vert@\vert<direction> \cr
\end{defs1}
This will set the orientation of the rows to <direction> (the default corresponds to |@r|).

: Rotation is experimental and the spacing of a rotated matrix may change in future versions.


\begin{exercise}
How did the author typeset the following matrix?
\begin{code}
...
...o make it possible to enter it as a simple
square: \displaycode}
\end{exercise}

2 The code is the first procedure of || above; the final factors are used by |@|.

3